package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.messhall.YrMealCardForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrMealCardRechargeRecordForm extends GenericForm{

	private static final long serialVersionUID = -8470451429091792027L;

	private String mealCardRechargeRecordId;

	private String cardCardId;

	private String cardPersonId;

	private String cardPersonName;

	private Integer cardType;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private Integer personType;

 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date rechargeDate;

	private Float rechargeMoney;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;

	private String userRfidCardId;
	
	private Integer rechargeSource;
	
	private String handler;
	
	private Float mealCardBalance;
	
	private Float mealCardPreBalance;
	
	private Float pracRechargeMoney;
	
	private Integer rechargeType;
	
	private YrMealCardForm mealCardForm;
	
	public Float getMealCardPreBalance() {
		return mealCardPreBalance;
	}

	public void setMealCardPreBalance(Float mealCardPreBalance) {
		this.mealCardPreBalance = mealCardPreBalance;
	}

	public YrMealCardForm getMealCardForm() {
		return mealCardForm;
	}

	public void setMealCardForm(YrMealCardForm mealCardForm) {
		this.mealCardForm = mealCardForm;
	}

	public Integer getRechargeType() {
		return rechargeType;
	}

	public void setRechargeType(Integer rechargeType) {
		this.rechargeType = rechargeType;
	}

	public Float getPracRechargeMoney() {
		return pracRechargeMoney;
	}

	public void setPracRechargeMoney(Float pracRechargeMoney) {
		this.pracRechargeMoney = pracRechargeMoney;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public Float getMealCardBalance() {
		return mealCardBalance;
	}

	public void setMealCardBalance(Float mealCardBalance) {
		this.mealCardBalance = mealCardBalance;
	}

	public Integer getRechargeSource() {
		return rechargeSource;
	}

	public void setRechargeSource(Integer rechargeSource) {
		this.rechargeSource = rechargeSource;
	}

	public String getMealCardRechargeRecordId() {
		return mealCardRechargeRecordId;
	}

	public void setMealCardRechargeRecordId(String mealCardRechargeRecordId) {
		this.mealCardRechargeRecordId = mealCardRechargeRecordId;
	}

	public String getCardCardId() {
		return cardCardId;
	}

	public void setCardCardId(String cardCardId) {
		this.cardCardId = cardCardId;
	}

	public String getCardPersonId() {
		return cardPersonId;
	}

	public void setCardPersonId(String cardPersonId) {
		this.cardPersonId = cardPersonId;
	}

	public String getCardPersonName() {
		return cardPersonName;
	}

	public void setCardPersonName(String cardPersonName) {
		this.cardPersonName = cardPersonName;
	}

	public Integer getCardType() {
		return cardType;
	}

	public void setCardType(Integer cardType) {
		this.cardType = cardType;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getPersonType() {
		return personType;
	}

	public void setPersonType(Integer personType) {
		this.personType = personType;
	}

	public Date getRechargeDate() {
		return rechargeDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setRechargeDate(Date rechargeDate) {
		this.rechargeDate = rechargeDate;
	}

	public Float getRechargeMoney() {
		return rechargeMoney;
	}

	public void setRechargeMoney(Float rechargeMoney) {
		this.rechargeMoney = rechargeMoney;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserRfidCardId() {
		return userRfidCardId;
	}

	public void setUserRfidCardId(String userRfidCardId) {
		this.userRfidCardId = userRfidCardId;
	}
	
}
